﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;

namespace PUCP.SI2.SGIRP.DA
{
    class coneccion
    {
        private static String server = "localhost";
        private static String user = "root";
        private static String password = "";
        private static String database = "realplazasystem";
      
       public  MySqlConnection getInstance ()
       {
           string connectionString;
           connectionString = "SERVER=" + server + ";" + "DATABASE=" + 
		   database + ";" + "UID=" + user + ";" + "PASSWORD=" + password + ";";
           MySqlConnection conn = new MySqlConnection(connectionString);
           return conn;
       }
    }
}


    




